Ruby Rails 4 Error Undefined Method[] For Nil Nilclass` Stack

Ruby Rails 4 Error Undefined Method[] For Nil Nilclass` Stack